import http from '@/api/http'

// 获取院校结构
const getStructure = (data) => {
    return http({
        url: "user/login",
        method: "get",
        params: data
    })
}

// 用户修改头像
const updataUserHeader = (data) => {
    return http({
        url: "user/updataUserHeader",
        method: "post",
        data
    })
}

export {
    getStructure,
updataUserHeader 
}
